//
//  CategoryDestroyerSystem.cpp
//  QuizMaster
//
//  Created by Jeppe Nielsen on 4/9/15.
//  Copyright (c) 2015 Jeppe Nielsen. All rights reserved.
//

#include "CategoryDestroyerSystem.hpp"

void CategoryDestroyerSystem::Initialize() {
    AddComponent<CategoryComponent>();
}

void CategoryDestroyerSystem::DestroyAllCategories() {
    for (int i=0; i<Objects().size(); i++) {
        Objects()[i]->Remove();
    }
}
